package common.util.matcher;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 描述
 *
 * @author 米泽鹏
 * @since 2023-10-20 下午 10:24
 */
public interface RequestVariablesExtractor {

	/**
	 * Extract URL template variables from the request.
	 *
	 * @param request the HttpServletRequest to obtain a URL to extract the variables from
	 * @return the URL variables or empty if no variables are found
	 */
	Map<String, String> extractUriTemplateVariables(HttpServletRequest request);

}
